/**
 * Bakalarska prace - Inteligentni budik
 * @package sleepCatcher
 * @file SCHelpers.h
 * @author Jan Pesava - xpesav00
 * @email xpesav00@stud.fit.vutbr.cz
 * @date 24. 12. 2011
 */
#ifndef SCHELPERS_H_
#define SCHELPERS_H_

#include <FBase.h>
#include <string>
#include <models/SCSample.h>

using namespace Osp::Base;
using namespace std;



class SCHelpers
{
// Constructs
private:
	SCHelpers();
	virtual ~SCHelpers();
// Constants
// Attributes
// Methods
public:
	static String ConvertDateTimeToString(DateTime dateTime, String format);
	static DateTime ConvertStringToDateTime(String timeStr, String format);
	static string* GetCString(const String& sBadaStr);
	static long long GetTimeDifference(DateTime timeFrom, DateTime timeTo);
	static DateTime GetCurrentTime();
	static float ConvertMinuteToHours(float minute);
	static SCSample* CloneSample(SCSample* pSample);
	static double Round(double number, int places);
};

#endif /* SCHELPERS_H_ */
